#include "iostream"
#include "string"

using namespace std;

int sum() {
    string input;
    cin >> input;
    int sum = 0;
    for (int i = 0; i < input.size(); i++) {
        sum += input[i] - '0';
    }
    return sum;
}

int print(int input) {
    string output = "";
    string str = to_string(input);

    for (int i = 0; i < str.size(); i++) {
        switch (str[i]) {
            case '1':
                output += "yi ";
                break;
            case '2':
                output += "er ";
                break;
            case '3':
                output += "san ";
                break;
            case '4':
                output += "si ";
                break;
            case '5':
                output += "wu ";
                break;
            case '6':
                output += "liu ";
                break;
            case '7':
                output += "qi ";
                break;
            case '8':
                output += "ba ";
                break;
            case '9':
                output += "jiu ";
                break;
            case '0':
                output += "ling ";
                break;
        }
    }
    output = output.substr(0, output.size() - 1);
    cout << output;
    return 0;
}

int main() {
    print(sum());
    return 0;
}